package jlocalchat;

import gui.cliente.JanelaChat;
import java.util.Scanner;
import javax.swing.UIManager;

/**
 * @author tiagosn
 */
public class Main2 {
    public static void main(String[] args) {

        try {
            UIManager.setLookAndFeel(
		  "com.sun.java.swing.plaf.gtk.GTKLookAndFeel");
	} catch (Exception ep) {
                    System.out.println("deu errado");
        }
        Scanner ler = new Scanner(System.in);
        String login = ler.nextLine();
        JanelaChat j = new JanelaChat(login, "localhost", 12345);
        j.setVisible(true);
    }
}
